
$(function () {

    // 头部图片切换效果
    jQuery(".navImg").slide({ mainCell: ".navImg .bd", effect: "leftLoop", autoPlay: true });


    //大图切换
    jQuery(".navSliderMain").slide({
        titCell: ".smallImg li", mainCell: ".bigImg", effect: "leftLoop", autoPlay: true, delayTime: 200,
        startFun: function (i, p) {
            //控制小图自动翻页
            if (i == 0) { jQuery(".navSliderMain .sPrev").click() } else if (i % 8 == 0) { jQuery(".navSliderMain .sNext").click() }
        }
    });

    //小图左滚动切换
    jQuery(".navSliderMain .smallScroll").slide({ mainCell: "ul", delayTime: 100, vis: 8, scroll: 8, effect: "left", autoPage: true, prevCell: ".sPrev", nextCell: ".sNext", pnLoop: false });



});